package com.lanyam.travel.base.entity;


import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;


@Data
public class CaseWithdra {

    /*
     * 
     */
    @JsonProperty(value="id")
    private String id;

    /*
     * 提现用户
     */
    @JsonProperty(value="cwdUserid")
    private String cwdUserid;

    /*
     * 提现金额
     */
    @JsonProperty(value="cashAmout")
    private BigDecimal cashAmout;

    /*
     * 提现时间
     */
    @JsonProperty(value="createTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /*
     * 手续费比例
     */
    @JsonProperty(value="servCharge")
    private BigDecimal servCharge;

    /*
     * 订单ID
     */
    @JsonProperty(value="orderId")
    private String orderId;

    /*
     * 自动提现(0:手动提现,1:自动提现)
     */
    @JsonProperty(value="setAuto")
    private Integer setAuto;

    /**
     * 提现账号
     */
    @JsonProperty(value="withdraNo")
    private String withdraNo;

    /**
     * 是否提现
     */
    @JsonProperty(value="hasWithdra")
    private Integer hasWithdra;
}